home *** CD-ROM | disk | FTP | other *** search
/ Quick PC 62 / Quick PC 62.iso / I386 / IIS5_01.CAB / IIS_QueryString_JScript.asp < prev    next >
Encoding:
Text File  |  1998-05-29  |  1.1 KB  |  44 lines

  1. <%@ Language = JScript %>
  2.  
  3. <!*************************
  4. This sample is provided for educational purposes only. It is not intended to be 
  5. used in a production environment, has not been tested in a production environment, 
  6. and Microsoft will not provide technical support for it. 
  7. *************************>
  8.  
  9.  
  10.  
  11. <HTML>
  12.     <HEAD>
  13.         <TITLE>Form Posting (Get Method with QueryString)</TITLE>
  14.     </HEAD>
  15.  
  16.     <BODY BGCOLOR="WHITE" TOPMARGIN="10" LEFTMARGIN="10">
  17.         
  18.         <!-- Display header. -->
  19.  
  20.         <FONT SIZE="4" FACE="ARIAL, HELVETICA">
  21.         <B>Form Posting (Get Method with QueryString)</B></FONT>
  22.  
  23.         <BR><HR><P>
  24.  
  25.         This page will take the information entered in the
  26.         form fields, and use the GET method to send the data
  27.         to an ASP page.
  28.  
  29.         <FORM NAME=Form1 METHOD=Get ACTION="QueryString_JScript.asp">
  30.         
  31.             <P>First Name: <INPUT TYPE=Text NAME=fname>
  32.             <P>Last Name: <INPUT TYPE=Text NAME=lname></P>
  33.             
  34.             <INPUT TYPE=Submit VALUE="Submit">            
  35.         </FORM>
  36.  
  37.         <HR>
  38.  
  39.         <% Response.Write(Request.QueryString("fname"))%> <BR>
  40.         <% Response.Write(Request.QueryString("lname"))%>
  41.         
  42.     </BODY>
  43. </HTML>
  44.